<?php 
class DefaultAnalyzer extends SiteAnalyzer
{
    protected $url = '';
    public function __construct($url)
    {
        $this->url = $url;
        $this->site = null;
    }

    public function get_item_id()
    {
        return '';
    }

    public function get_item_title()
    {
        if(preg_match('@<title>(.+?)</title>@is', $this->get_page_content() ,$match))
            return $match[1];
        return '';
    }

    public function get_item_imgs()
    {
        return null;
    }
}